package flash.sound.file.wave.tag.header {
  import flash.utils.IDataInput;
  import flash.utils.IDataOutput;
  
  
  public class WaveTagHeader implements IWaveTagHeader {
    
    /**
    * 
    */
    private var _id: String;
    
    /**
    * 
    */
    private var _size: int;

    /**
    * 
    */
    public function set id(value: String): void {
      _id =value;
    }
    
    /**
    * 
    */
    public function get id(): String {
      return _id;
    }

    /**
    * 
    */
    public function set size(value: int): void {
      _size = value;
    }
    
    /**
    * 
    */
    public function get size(): int {
      return _size;
    }   

    /**
    * 
    */
    public function read(stream: IDataInput): void {
      id = stream.readMultiByte(4, 'ascii');
      size = stream.readUnsignedInt();      
    }
    
    /**
    * 
    */
    public function write(stream: IDataOutput): void {
      
    }    
  }
}